<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@ page language="java" contentType="text/html; charset=UTF-8"%>
<%@ include file="/jsplib/pubhead.jsp"%>
<%@ page import="net.comm.common.ValueMaping"%>
<%@ taglib uri="/WEB-INF/myTaglib.tld" prefix="tag"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link href="${cpath}/css/youlin.css" type=text/css rel=stylesheet>
<title>申诉</title>
<link href="${cpath}/css/youlin.css" rel="stylesheet" type="text/css"
	media="all" />
<script src="${cpath}/js/SpryTabbedPanels.js" type="text/javascript"></script>
<link href="${cpath}/css/SpryTabbedPanels.css" rel="stylesheet"
	type="text/css" />
<link href="${cpath}/css/pop.css" rel="stylesheet" type="text/css">
<SCRIPT src="${cpath}/js/global.js" type=text/javascript></SCRIPT>

<SCRIPT>

	/**
     * 
     */
	function notAdd(obj)
	{
		//var userID = tousuForm.getUserID();
		//if(userID == '' ){
			//alert('请登录网站');
			//window.location.href ="${cpath}/index.jsp";
			//return false;
		//}
		var form = document.getElementById(obj);

		var content = form.content;
		var title = form.title;

		if(!confirm('确认提交申诉' )){
			return false;
		}

		if(content.value == null||content.value.replace(/(^\s*)|(\s*$)/g,"").length < 1)
  		{
			alert('内容不能为空');
			content.select();
			return ;
		}
		if(content.value.replace(/(^\s*)|(\s*$)/g,"").length > 2000)
  		{
			alert('内容长度不能大于2000');
			content.select();
			return ;
		}

		form.submit();
	}
</SCRIPT>

</head>

<body>

<div class="TabbedPanelsContent">
<form class="notice_from" action="${cpath}/notadv.do?action=add"
	name="NotAdvForm" id="NotAdvForm" method="post"
	enctype="multipart/form-data"><!-- <p><textarea background-color:red; class="input" name="content" cols="" rows="2" style="width:20%;">您被举报了不当行为，我们正在审查，请稍候登录，如有异议请申诉。</textarea></p> -->

<input type="hidden" name='username' value='${username}' /> <input
	type="hidden" name='seqID' value='' /> <input type="hidden"
	name='ntype' value='7' /> <input type="hidden" name='nsort' value='4' />
<input type="hidden" name='nsortID' value='' /> <input type="hidden"
	name='title' value='${username}提交申诉' />

<table align="center" style="vertical-align: middle">
	<tr>
		<td width="100%" nowrap="nowrap">
		<p align="center" ; class="notice_from_top"
			style="width: 22%; padding-top: 10px;" id="natitle">您被举报了不当行为，我们正在审查，请稍候登录，如有异议请申诉.</p>
		<p class="notice_from_top"
			style="padding-center: 0; padding-top: 10px;" id="natitle">申诉：</p>
		</td>
	</tr>
	<tr>
		<td align="center">
			&nbsp;&nbsp;&nbsp;&nbsp;<textarea class="input" name="content" cols="" rows="" ></textarea>    
		</td>
	</tr>
	
	<tr>
		<td align="center">
		<a href="javascript:notAdd('NotAdvForm');"><img src="${cpath}/images/icon_30.gif" width="82" height="23" /></a>
		</td>
		</tr>
	</table>
		
		
	</form>	
	</div>
</body>
</html>

